package edu.object_oriented.encapsulation;

public class StuTest {

    public static void main(String[] args) {
        Stu stu = new Stu();
        stu.setName("jack");
        String name = stu.getName();
        System.out.println(name);

        Stu stu2 = new Stu("tom", 20);


    }

}
